/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class MallItemOrder {
    /**
     * mall_item_order.id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * mall_item_order.mall_id
     * 二维火店铺id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long mallId;

    /**
     * mall_item_order.buy_items_json
     * 购买商品内容(json)
     * VARCHAR(2000)
     *
     * @mbggenerated
     */
    private String buyItemsJson;

    /**
     * mall_item_order.table_num_id
     * 桌号id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long tableNumId;

    /**
     * mall_item_order.buy_user_id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long buyUserId;

    /**
     * mall_item_order.price
     * 订单商品的价格
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long price;

    /**
     * mall_item_order.discount_price
     * 折扣价
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long discountPrice;

    /**
     * mall_item_order.status
     * -1过期订单0：未付款订单2：已付款订单 4：已经评价的订单
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * mall_item_order.type
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * mall_item_order.seller_id
     * 卖家id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long sellerId;

    /**
     * mall_item_order.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * mall_item_order.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * mall_item_order.attribute
     * 支付完成后存回调单号
     * VARCHAR(3000)
     *
     * @mbggenerated
     */
    private String attribute;

    /**
     * mall_item_order.buy_count
     * 购买份数
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer buyCount;

    /**
     * mall_item_order.meal_num
     * 吃饭人数
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer mealNum;

    /**
     * mall_item_order.comm_only_key
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer commOnlyKey;

    /**
     * mall_item_order.province_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer provinceId;

    /**
     * mall_item_order.city_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer cityId;

    /**
     * mall_item_order.area_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer areaId;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public Long getMallId() {
        return mallId;
    }

    /* @mbggenerated */
    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    /* @mbggenerated */
    public String getBuyItemsJson() {
        return buyItemsJson;
    }

    /* @mbggenerated */
    public void setBuyItemsJson(String buyItemsJson) {
        this.buyItemsJson = buyItemsJson == null ? null : buyItemsJson.trim();
    }

    /* @mbggenerated */
    public Long getTableNumId() {
        return tableNumId;
    }

    /* @mbggenerated */
    public void setTableNumId(Long tableNumId) {
        this.tableNumId = tableNumId;
    }

    /* @mbggenerated */
    public Long getBuyUserId() {
        return buyUserId;
    }

    /* @mbggenerated */
    public void setBuyUserId(Long buyUserId) {
        this.buyUserId = buyUserId;
    }

    /* @mbggenerated */
    public Long getPrice() {
        return price;
    }

    /* @mbggenerated */
    public void setPrice(Long price) {
        this.price = price;
    }

    /* @mbggenerated */
    public Long getDiscountPrice() {
        return discountPrice;
    }

    /* @mbggenerated */
    public void setDiscountPrice(Long discountPrice) {
        this.discountPrice = discountPrice;
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Long getSellerId() {
        return sellerId;
    }

    /* @mbggenerated */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }

    /* @mbggenerated */
    public Integer getBuyCount() {
        return buyCount;
    }

    /* @mbggenerated */
    public void setBuyCount(Integer buyCount) {
        this.buyCount = buyCount;
    }

    /* @mbggenerated */
    public Integer getMealNum() {
        return mealNum;
    }

    /* @mbggenerated */
    public void setMealNum(Integer mealNum) {
        this.mealNum = mealNum;
    }

    /* @mbggenerated */
    public Integer getCommOnlyKey() {
        return commOnlyKey;
    }

    /* @mbggenerated */
    public void setCommOnlyKey(Integer commOnlyKey) {
        this.commOnlyKey = commOnlyKey;
    }

    /* @mbggenerated */
    public Integer getProvinceId() {
        return provinceId;
    }

    /* @mbggenerated */
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    /* @mbggenerated */
    public Integer getCityId() {
        return cityId;
    }

    /* @mbggenerated */
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /* @mbggenerated */
    public Integer getAreaId() {
        return areaId;
    }

    /* @mbggenerated */
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
}